#ifndef ET_ADDITEM_H
#define ET_ADDITEM_H

#include <head/g_pch.h>
#include <head/db_helper.h>
#include <head/m_message.h>
#include "m_fhs.h"

namespace Ui {
class ET_AddItem;
}

class ET_AddItem : public QDialog
{
    Q_OBJECT

public:
    explicit ET_AddItem(QWidget *parent = nullptr);
    ~ET_AddItem();

    bool addItem(const QString &label,
                 const QString &detail,
                 const QString &addition);
private slots:
    void on_btn_submit_clicked();

private:
    Ui::ET_AddItem *ui;

    QString table;
};

#endif // ET_ADDITEM_H
